/**
* Name: CSS Principal das Paginas do Site.
* Author: CPD UFAM
* Author URI: http://cpd.ufam.edu.br/
* Date: Fevereiro 09, 2012
* Version: 1.0
* Copyright : CPD UFAM
*/

/*** Tag Geral **/
html * {
    margin: 0;
    /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
}


/* GENERAL */

input[readonly] 
{
    background: buttonface;
}

.spinner {
    padding: 5px;
    position: absolute;
    right: 0;

}

body {
    background: #f7f7f7;
    color: #333;
    font: 11px verdana, arial, helvetica, sans-serif;    
}

html, body {
    margin:0px;
    height:100%;
}
h1 {
    color: #2779AA;
    font-weight: normal;
    font-size: 16px;
    margin: .8em 0 .3em 0;
}
ul {
    padding-left: 15px;
}
input, select, textarea {
    background-color: #fcfcfc;
    border: 1px solid #ccc;
    font: 11px verdana, arial, helvetica, sans-serif;
    margin: 2px 0;
    padding: 2px 4px;
}
select {
    padding: 2px 2px 2px 0;
}
textarea {
    width: 250px;
    height: 150px;
    vertical-align: top;
}
input:focus, select:focus, textarea:focus {
    border: 1px solid #b2d1ff;
}
a:link, a:visited, a:hover {
    color: #666;
    font-weight: bold;
    text-decoration: none;
}

/* TABLES */

table {
    border: 1px solid #74B2E2;
    width: 100%
}
tr {
    border: 0;
}
td, th {
    font: 11px verdana, arial, helvetica, sans-serif;
    line-height: 12px;
    padding: 5px 6px;
    text-align: left;
    vertical-align: top;
}
th {
    background-color: #E4F1FB;
    font-weight: bold;
    vertical-align: middle;
    border-bottom: 1px solid #74B2E2;
    /*
    background: #fff url(../images/skin/shadow.jpg);
    color: #666;
    font-size: 11px;
    font-weight: bold;
    line-height: 17px;
    padding: 2px 6px;
    */
}
th a:link, th a:visited, th a:hover {
    color: #333;
    display: block;
    font-size: 10px;
    text-decoration: none;
    width: 100%;
}
th.asc a, th.desc a {
    background-position: right;
    background-repeat: no-repeat;
}
th.asc a {
    background-image: url(../images/skin/sorted_asc.gif);
}
th.desc a {
    background-image: url(../images/skin/sorted_desc.gif);
}
.odd {
    background: #f7f7f7;
}
.even {
    background: #fff;
}

/* LIST */

.list table {
    border-collapse: collapse;
}
.list th, .list td {
    /*border-left: 1px solid #ddd;*/
}
.list th:hover, .list tr:hover {
    background: #b2d1ff;
}

/* PAGINATION */

.paginateButtons {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #74B2E2;
    border-top: 0;
    color: #666;
    font-size: 10px;
    overflow: hidden;
    padding: 10px 3px;
}
.paginateButtons a {
    background: #fff;
    border: 1px solid #ccc;
    border-color: #ccc #aaa #aaa #ccc;
    color: #666;
    margin: 0 3px;
    padding: 2px 6px;
}
.paginateButtons span {
    padding: 2px 3px;
}

/* DIALOG */

.dialog table {
    /*padding: 5px 0;*/
}
.prop {
    padding: 5px;
}
.prop .name {
    text-align: left;
    width: 15%;
    white-space: nowrap;
}
.prop .value {
    text-align: left;
    width: 85%;
}

/* ACTION BUTTONS */

.buttons {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    color: #666;
    font-size: 10px;
    margin-top: 5px;
    overflow: hidden;
    padding: 0;
}
.buttons input {
    background: #fff;
    border: 0;
    color: #333;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    margin-left: 3px;
    overflow: visible;
    padding: 2px 6px;
}
.buttons input.delete {
    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.edit {
    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.save {
    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.result {
    background: transparent url(../images/skin/report.png) 5px 50% no-repeat;
    padding-left: 28px;
}

/*BODY { position: relative; min-width: 600px; width: 100%; margin: 0; padding: 0; }
#top { position: absolute; top: 0; left: 0; min-width: 600px; width: 100%; height: 100px;background-image:url(../images/titlebar.jpg);background-repeat:repeat-x; }
#left { position: absolute; top:100px; left: 0; width: 19%;  margin: 1% 1% 0 0; }
#middle { position: absolute; top:100px; left:20%; min-width: 360px; width: 80%; margin-top: 1%; }
#right { position: absolute; top:100px; left: 80%; width: 19%; margin: 1% 0 0 1%; }

 HR styles need for IE/Win.
HR.holder { width:600px; visibility: hidden; }  Equal to 'top'
HR.left, HR.right { width: 120px; visibility: hidden; }
HR.middle { width: 360px; visibility: hidden; }*/

/* dock com atalhos */

#dock img {
    padding:0 3px;
}
#dock .jqDockLabelText {
    color:#000000;
    border: 1px solid #000000;
    background-color: #ffffca;
    font: 10px verdana, arial, helvetica, sans-serif;
    padding: 1px 3px;
}

/* tables */

table.tablesorter th {
    padding-right: 20px;
}
table.tablesorter thead tr .header {
    background-image: url(../images/bg.gif);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
    /*min-width: 50px;*/
}
table.tablesorter thead tr .headerSortUp {
    background-image: url(../images/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
    background-image: url(../images/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
    background-color: #8dbdd8;
}

/** Layout **/

#container {
    width: 100%;
}
#header {}
#mainNav {
    float: left;
}
#content {
    float: right;
    height: 100%;
}
#footer {
    clear: both;
    padding:5px; 
    text-align: center; 
    width:100%;
    position:fixed;
    bottom:0px;
}

/** Seletor **/

#grailsLogo {
    background-image: url(../images/logo/banner.jpg);
    background-repeat: no-repeat;
    background-position: center right;
    text-align: left;
    height: 60px;
    line-height: 60px;
    /*
    display: table-cell;
    vertical-align: bottom;
    */
}
#grailsLogo a{
    color: #2779AA;
    font-weight: normal;
    font-size: 22px;
    padding-left: 10px;
}
#login_corpo a{
    color: #304670;
}
#login_corpo {
    width: 480px;
    height: 200px;
    border: 1px solid #CCCCCC;
    padding: 1em;
    background-color: #F1F3F5;
    position: absolute;
    top: 40%;
    left: 50%;
    margin-left: -240px;
    margin-top: -100px;
}
#login_campos {
    margin-top: 1em;
    border: 1px solid #CCCCCC;
    padding: 1em;
    background-color: #E9ECEF;
}

/* Class */

.spinner {
    padding: 5px;
    position: absolute;
    right: 0;
}
.body {
    float: left;
    margin: 0 15px 10px 15px;
    width: 520px;
}
.buscar{
    margin-left: 50%;
}
.campo{
    width: 95%;
}


/* NAVIGATION MENU */

.nav {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    border-style: solid none solid none;
    margin-top: 5px;
    padding: 2px 12px;
}
.menuButton {
    font-size: 10px;
    padding: 0 5px;
}
.menuButton a {
    color: #333;
    padding: 4px 6px;
}
.menuButton a.home {
    background: url(../images/skin/house.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}
.menuButton a.list {
    background: url(../images/skin/database_table.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

.menuButton a.result {
    background: url(../images/skin/report.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}
.menuButton a.create {
    background: url(../images/skin/database_add.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

.menuButton a.report {
    background: url(../images/skin/downloadpdf.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

/* MESSAGES AND ERRORS */

.message {
    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
    border: 1px solid #b2d1ff;
    color: #006dba;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}
div.errors {
    background: #fff3f3;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 0 5px 0;
}
div.errors ul {
    list-style: none;
    padding: 0;
}
div.errors li {
    background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
    line-height: 16px;
    padding-left: 30px;
}
td.errors select {
    border: 1px solid red;
}
td.errors input {
    border: 1px solid red;
}
td.errors textarea {
    border: 1px solid red;
}

/*Loader*/

.loader
{
    display: none;
}
.loader img
{
    border: 0;
}